home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / comm / www / CountHTTP.readme < prev    next >
Text File  |  1996-10-11  |  3KB  |  62 lines

  1. Short:    (1.0) Reports on AWS logfiles
  2. Author:   mhunter+@andrew.cmu.edu (Matthew Hunter)
  3. Uploader: mhunter+@andrew.cmu.edu (Matthew Hunter)
  4. Version:  1.0
  5. Type:     comm/www
  6. Requires: OS 2.04
  7. Replaces: CountHTTP.lha
  8.  
  9. CountHTTP 1.0: First public release
  10.  
  11. This program is designed to read in the logfiles generated by the Amiga Web
  12. Server, and output some interesting and (hopefully) meaningful statistics on
  13. them.  It's designed to be most flexible in how it outputs the generated
  14. information, but not to overanalyze the logfile -- in short, to enable a simple,
  15. easily produced and useful page of statistics, without needing to write another
  16. program to format the output.  If you need extensive load-analysis look
  17. elsewhere.
  18.  
  19. It accepts the following parameters:
  20.  
  21.     MATCH/K     == an AmigaDOS pattern to filter all output through
  22.     LOGFILE     == The name of the logfile.  Defaults to LOGS:http_access
  23.     IMGPATTERN  == An AmigaDOS pattern designed to identify images by their
  24.                         filenames, so they are not counted as "hits".  Feel free
  25.                         to similarly filter out .lha or .ps or whatever else you want.
  26.     HTML        == format output in HTML
  27.     TABLES      == format output with tables.  Implies HTML.
  28.     VERBOSE     == Report the name of every matching site or file logged
  29.     TERSE       == designed for hsc's <$include FILE=counter> style tags, to
  30.                         generate a "pseudo-counter". Outputs only the number of
  31.                         matching or total hits.
  32.     NOFILES     == Excludes files from being displayed completely.
  33.     NOSITES     == As for NOFILES, but excludes sites.
  34.  
  35.     If your logfile is large, CountHTTP will require quite a bit of memory.  It
  36. can also take some time to process a large logfile -- a 650k log takes about
  37. 10-15 seconds on an 030, in fast ram.
  38.  
  39.     It will eventually be usable as a CGI script; the changes should be minor.
  40.  
  41.     If your locale date produces a date string longer than 33 characters (that
  42. AWS uses in its logfile) then this won't work.  Email me the length of your date
  43. string and I will make the (again minor) changes to implement it as a
  44. commandline option.
  45.  
  46.     All output goes to either stdio or stderr.  stderr is only errors, and stdio
  47. should -always- be a clean output file, suitable for redirection.
  48.  
  49.     Example output can be seen at
  50.     http://shadow.res.cmu.edu/mhunter/tablestats.html
  51.     http://shadow.res.cmu.edu/mhunter/stats.html
  52.  
  53.  
  54. ============================= Archive contents =============================
  55.  
  56. Original  Packed Ratio    Date     Time    Name
  57. -------- ------- ----- --------- --------  -------------
  58.    18196   11035 39.3% 14-Sep-96 23:46:50  CountHTTP
  59.     2347    1231 47.5% 14-Sep-96 23:31:54  CountHTTP.readme
  60. -------- ------- ----- --------- --------
  61.    20543   12266 40.2% 15-Sep-96 20:09:22   2 files
  62.